package projects.jnurse.ioc.proxy;

import junit.framework.TestCase;

/**
 * Created by Adil Naji.
 * User: XP-170708
 * Date: 18 nov. 2008
 * Time: 17:29:20
 */
public class ProxyTest extends TestCase {

    public void testProxy() {
        AOPInterceptor interceptor = new DummyInterceptor();
        DynamicProxyFactory dynamicProxyFactory = new DynamicProxyFactoryImpl();
        String s = dynamicProxyFactory.createProxy(String.class, "test", interceptor);
        assertNotNull(s);
    }


}
